package com.qianfeng.teachdemo.bean;

import java.io.Serializable;

/**
 * @项目名称：MyWebServlet
 * @类名称：UserInfo
 * @类描述：
 * @创建人：张唯
 * @创建时间：2014-5-21 下午3:17:09
 * @修改人：
 * @修改时间：2014-5-21 下午3:17:09
 * @修改备注：
 * @version
 */

public class UserInfo implements Serializable {
	private static final long serialVersionUID = 1L;


	private Long id;
	
	private String name;

	private String sex;

	private String idCard;

	private String passWord;

	private String phoneNumber;

	private String isdelete;// 1表示删除,0未删除

	private String otherName;

	private String email;

	private int state;

	private String errorMsg;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(String isdelete) {
		this.isdelete = isdelete;
	}

	public String getOtherName() {
		return otherName;
	}

	public void setOtherName(String otherName) {
		this.otherName = otherName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	@Override
	public String toString() {
		return "UserInfo [id=" + id + ", name=" + name + ", sex=" + sex + ", idCard=" + idCard + ", passWord=" + passWord + ", phoneNumber=" + phoneNumber + ", isdelete="
				+ isdelete + ", otherName=" + otherName + ", email=" + email + ", state=" + state + ", errorMsg=" + errorMsg + "]";
	}

	public UserInfo() {
		super();
	}

	public UserInfo(String name, String passWord) {
		super();
		this.name = name;
		this.passWord = passWord;
	}

	public UserInfo(String name, String passWord, String email) {
		super();
		this.name = name;
		this.passWord = passWord;
		this.email = email;
	}
}
